package com.myy.purchase.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myy.purchase.entity.Purchase;
import com.myy.common.entity.QueryRequest;


public interface IPurchaseService extends IService<Purchase> {

    /**
     * 查询操作日志分页
     *
     * @param purchase
     * @param request QueryRequest
     * @return IPage<Log>
     */
    IPage<Purchase> findPurchase(Purchase purchase, QueryRequest request);

    void createPurchase(Purchase purchase);

}
